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.
Retrieves the node ID as specified in the data view support XML from an item ID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Function GetNodeId ( _
itemId As Integer _
) As String
public string GetNodeId(
int itemId
)
public:
String^ GetNodeId(
int itemId
)
member GetNodeId :
itemId:int -> string
public function GetNodeId(
itemId : int
) : String
Parameters
- itemId
Type: System.Int32
Item ID of the object for which to retrieve the node ID.
Return Value
Type: System.String
Returns the node ID, or returns nulla null reference (Nothing in Visual Basic) if no node ID exists.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The specified itemId is invalid. |
.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.