IDataObject.GetFormats 메서드

정의

이 데이터 개체의 데이터가 저장되거나 변환될 수 있는 형식 목록을 반환합니다.

오버로드

Name Description
GetFormats()

이 데이터 개체의 데이터가 저장되거나 변환될 수 있는 모든 형식의 목록을 반환합니다.

GetFormats(Boolean)

이 데이터 개체의 데이터가 저장되는 모든 형식의 목록을 반환합니다. 플래그는 Boolean 데이터를 자동으로 변환할 수 있는 형식도 포함할지 여부를 나타냅니다.

GetFormats()

이 데이터 개체의 데이터가 저장되거나 변환될 수 있는 모든 형식의 목록을 반환합니다.

public:
 cli::array <System::String ^> ^ GetFormats();
[System.Security.SecurityCritical]
public string[] GetFormats();
public string[] GetFormats();
[<System.Security.SecurityCritical>]
abstract member GetFormats : unit -> string[]
abstract member GetFormats : unit -> string[]
Public Function GetFormats () As String()

반품

String[]

각 문자열이 이 데이터 개체에서 지원하는 형식의 이름을 지정하는 문자열 배열입니다.

특성

설명

이 메서드의 구현은 다음을 참조하세요 GetFormats.

적용 대상

GetFormats(Boolean)

이 데이터 개체의 데이터가 저장되는 모든 형식의 목록을 반환합니다. 플래그는 Boolean 데이터를 자동으로 변환할 수 있는 형식도 포함할지 여부를 나타냅니다.

public:
 cli::array <System::String ^> ^ GetFormats(bool autoConvert);
[System.Security.SecurityCritical]
public string[] GetFormats(bool autoConvert);
public string[] GetFormats(bool autoConvert);
[<System.Security.SecurityCritical>]
abstract member GetFormats : bool -> string[]
abstract member GetFormats : bool -> string[]
Public Function GetFormats (autoConvert As Boolean) As String()

매개 변수

autoConvert
Boolean

true 이 데이터 개체에 저장된 데이터가 저장되거나 변환될 수 있는 모든 형식을 검색하려면 다음을 수행합니다. false 이 데이터 개체에 저장된 데이터가 저장되는 형식만 검색하려면(데이터가 저장되지는 않지만 자동으로 변환될 수 있는 형식 제외).

반품

String[]

각 문자열이 이 데이터 개체에서 지원하는 형식의 이름을 지정하는 문자열 배열입니다.

특성

설명

이 메서드의 구현은 다음을 참조하세요 GetFormats.

적용 대상