共用方式為


IVarInfo.VariantType Property

Definition

Gets or sets the variable's variant type.

public:
 property System::String ^ VariantType { System::String ^ get(); void set(System::String ^ value); };
public:
 property Platform::String ^ VariantType { Platform::String ^ get(); void set(Platform::String ^ value); };
[System.Runtime.InteropServices.DispId(1610743812)]
public string VariantType { [System.Runtime.InteropServices.DispId(1610743812)] get; [System.Runtime.InteropServices.DispId(1610743812)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)] set; }
[<System.Runtime.InteropServices.DispId(1610743812)>]
[<get: System.Runtime.InteropServices.DispId(1610743812)>]
[<set: System.Runtime.InteropServices.DispId(1610743812)>]
[<set: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FRestricted)>]
member this.VariantType : string with get, set
Public Property VariantType As String

Property Value

The variable's variant type.

Attributes

Applies to