Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of the specified property.
Namespace: Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop
Assembly: Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)
Syntax
'Declaration
Function GetProperty ( _
name As String _
) As String
'Usage
Dim instance As IVstaHostAdapter
Dim name As String
Dim returnValue As String
returnValue = instance.GetProperty(name)
string GetProperty(
string name
)
String^ GetProperty(
String^ name
)
function GetProperty(
name : String
) : String
Parameters
name
Type: System.StringThe name of the property for which you want the value.
Return Value
Type: System.String
The value of the specified property.
Exceptions
| Exception | Condition |
|---|---|
| InvalidPropertyException | The property name is not valid. |
Remarks
This method retrieves properties from the <HostProperties> section of the project file.
.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.
See Also
Reference
Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace