Compartir a través de


ITypeLibInfo.Location Property

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

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

Syntax

'Declaración
Property Location As String
    Get
    Set
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)

Property Value

Type: System.String
A string containing the location of the specified item.

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

.NET Framework Security

See Also

Reference

ITypeLibInfo Interface

Microsoft.VisualStudio.VsWizard Namespace