HierarchyNode.GetRelationNameExtension Method

Gets the extension that is associated with a relational name.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function GetRelationNameExtension As String
'使用
Dim instance As HierarchyNode
Dim returnValue As String

returnValue = instance.GetRelationNameExtension()
public virtual string GetRelationNameExtension()
public:
virtual String^ GetRelationNameExtension()
public function GetRelationNameExtension() : String

Return Value

Type: System.String

The extension.

Remarks

Examples of a relation name extension are "form1.resx", which returns ".resx"; and "form1.designer.cs", which returns ".designer.cs".

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace