Sdílet prostřednictvím


ITypeLibInfo.Location Property

Definition

Gets or sets a string containing the location of the specified type library item.

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

Property Value

A string containing the location of the specified item.

Attributes

Examples

// From the VC++ ImplementInterface wizard.  
function AddTypeLibOptionIndex(oTypeLibsSelect, iTypeLib, oTypeLib, strVersion)  
{  
    var oOption = oTypeLibsSelect.options(iTypeLib - 1);  
   oOption.text = oTypeLib.Name + "<" + (strVersion.length ? strVersion : "1.0") + ">";  
   oOption.value = oTypeLib.Location;  
}  

Applies to