ClipboardProxy.TryGetData Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
generic <typename T>
bool TryGetData(System::String ^ format, [Runtime::InteropServices::Out] T % data);
C#
public bool TryGetData<T>(string format, out T data);
member this.TryGetData : string * 'T -> bool
Public Function TryGetData(Of T) (format As String, ByRef data As T) As Boolean
Type Parameters
- T
Parameters
- format
- String
- data
- T
Returns
Applies to
Windows Desktop 10
Product | Versions |
---|---|
Windows Desktop | 10 |
public:
generic <typename T>
bool TryGetData(System::String ^ format, Func<System::Reflection::Metadata::TypeName ^, Type ^> ^ resolver, [Runtime::InteropServices::Out] T % data);
C#
public bool TryGetData<T>(string format, Func<System.Reflection.Metadata.TypeName,Type> resolver, out T data);
member this.TryGetData : string * Func<System.Reflection.Metadata.TypeName, Type> * 'T -> bool
Public Function TryGetData(Of T) (format As String, resolver As Func(Of TypeName, Type), ByRef data As T) As Boolean
Type Parameters
- T
Parameters
- format
- String
- data
- T
Returns
Applies to
Windows Desktop 10
Product | Versions |
---|---|
Windows Desktop | 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: