다음을 통해 공유


ClipboardObject.GetDataPresent 메서드 (String, Boolean)

Clipboard 개체에 저장 된 데이터를 변환할 수 있는지 여부를 나타냅니다. 또는 연결 된 데이터 형식으로 변환할지 여부를 결정 하는 자동 변환 매개 변수를 사용 하 여 지정된 된 형식으로.

네임스페이스:  Microsoft.VisualStudio.Data.Framework
어셈블리:  Microsoft.VisualStudio.Data.Framework(Microsoft.VisualStudio.Data.Framework.dll)

구문

‘선언
Public Overrides Function GetDataPresent ( _
    format As String, _
    autoConvert As Boolean _
) As Boolean
public override bool GetDataPresent(
    string format,
    bool autoConvert
)
public:
virtual bool GetDataPresent(
    String^ format, 
    bool autoConvert
) override
abstract GetDataPresent : 
        format:string * 
        autoConvert:bool -> bool  
override GetDataPresent : 
        format:string * 
        autoConvert:bool -> bool
public override function GetDataPresent(
    format : String, 
    autoConvert : boolean
) : boolean

매개 변수

  • format
    형식: String

    데이터와 관련 된 클래스 형식입니다. 미리 정의된 형식에 대한 자세한 내용은 DataFormats를 참조하십시오.

  • autoConvert
    형식: Boolean

    데이터 지정된 된 형식으로 변환할 수 있는지 여부를 확인할 지 여부를 지정 합니다 (true), 지정 된 형식의 데이터가 있는지 여부를 확인 하거나 (false).

반환 값

형식: Boolean
true 데이터 변환 될 수 또는 지정된 된 형식으로 연결 된 경우 그렇지 않으면 false.

구현

IDataObject.GetDataPresent(String, Boolean)

설명

이 메서드 호출을 위임 하면 GetDataPresent 메서드는 DataObject 클래스.

.NET Framework 보안

참고 항목

참조

ClipboardObject 클래스

GetDataPresent 오버로드

Microsoft.VisualStudio.Data.Framework 네임스페이스