Returns the value for a specific property of the node.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Protected Function GetProperty ( _
name As String, _
def As String _
) As String
'使用
Dim name As String
Dim def As String
Dim returnValue As String
returnValue = Me.GetProperty(name, _
def)
protected string GetProperty(
string name,
string def
)
protected:
String^ GetProperty(
String^ name,
String^ def
)
protected function GetProperty(
name : String,
def : String
) : String
Parameters
name
Type: System.StringName of the property.
def
Type: System.StringThe default value of the property.
Return Value
Type: System.String
The value of the property if found, otherwise def.
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.