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
'Declaração
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.