ComVariant.As<T> Method
Definition
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.
Create a managed value based on the value in the ComVariant instance.
public:
generic <typename T>
T As();
public readonly T? As<T> ();
member this.As : unit -> 'T
Public Function As(Of T) () As T
Type Parameters
- T
The managed type to create an instance of.
Returns
T
The managed value contained in this variant.
Exceptions
When T
does not match the VarType of the ComVariant.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.