DataObject.TryGetDataCore<T> 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.
Important
This API is not CLS-compliant.
protected:
generic <typename T>
virtual bool TryGetDataCore(System::String ^ format, Func<System::Reflection::Metadata::TypeName ^, Type ^> ^ resolver, bool autoConvert, [Runtime::InteropServices::Out] T % data);
C#
[System.CLSCompliant(false)]
protected virtual bool TryGetDataCore<T>(string format, Func<System.Reflection.Metadata.TypeName,Type>? resolver, bool autoConvert, out T data);
[<System.CLSCompliant(false)>]
abstract member TryGetDataCore : string * Func<System.Reflection.Metadata.TypeName, Type> * bool * 'T -> bool
override this.TryGetDataCore : string * Func<System.Reflection.Metadata.TypeName, Type> * bool * 'T -> bool
Protected Overridable Function TryGetDataCore(Of T) (format As String, resolver As Func(Of TypeName, Type), autoConvert As Boolean, ByRef data As T) As Boolean
- T
- format
- String
- autoConvert
- Boolean
- data
- T
- Attributes
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: