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 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.