NodeProperties.GetProperty Method

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

Return Value

Type: System.String

The value of the property if found, otherwise def.

Permissions

See Also

Reference

NodeProperties Class

NodeProperties Members

Microsoft.VisualStudio.Package Namespace