Freigeben über


ITypeLibInfo.Location-Eigenschaft

Ruft eine Zeichenfolge ab, die den Speicherort des angegebenen Typbibliothekselements enthält, oder legt diese fest.

Namespace:  Microsoft.VisualStudio.VsWizard
Assembly:  Microsoft.VisualStudio.VsWizard (in Microsoft.VisualStudio.VsWizard.dll)

Syntax

'Declaration
Property Location As String
string Location { get; set; }
property String^ Location {
    String^ get ();
    void set (String^ value);
}
abstract Location : string with get, set
function get Location () : String 
function set Location (value : String)

Eigenschaftswert

Typ: String
Eine Zeichenfolge, die den Speicherort des angegebenen Elements enthält.

Beispiele

// 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;
}

.NET Framework-Sicherheit

Siehe auch

Referenz

ITypeLibInfo Schnittstelle

Microsoft.VisualStudio.VsWizard-Namespace