Returns a string containing the location of the specified item.
[Visual Basic .NET] Public Property Location() As String
[Visual Basic 6] Property Get Location() As String
[C++] HRESULT __stdcall get_Location(
/* [out, retval] */ BSTR* retVal
);
[C#] public string Location {get;} [JScript .NET] public function get Location() : String
Remarks
Returns the location of the control's type library.
Example
// 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;
} See Also
Applies To: IControl Object | ITypeLibInfo Object