Gets the value of a global property.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Function GetProperty ( _
propertyName As String _
) As String
'使用
Dim instance As SettingsPage
Dim propertyName As String
Dim returnValue As String
returnValue = instance.GetProperty(propertyName)
public string GetProperty(
string propertyName
)
public:
String^ GetProperty(
String^ propertyName
)
public function GetProperty(
propertyName : String
) : String
Parameters
propertyName
Type: System.StringThe name of the property to get.
Return Value
Type: System.String
The value of the specified property.
Permissions
- 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.