TopicTransformationExtensionsGenerateUniqueId Method
This is used to generate a unique ID for an XML node
Namespace: Sandcastle.Core.PresentationStyle.TransformationAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2024.12.21.0
public static string GenerateUniqueId(
this XNode node
)
<ExtensionAttribute>
Public Shared Function GenerateUniqueId (
node As XNode
) As String
public:
[ExtensionAttribute]
static String^ GenerateUniqueId(
XNode^ node
)
[<ExtensionAttribute>]
static member GenerateUniqueId :
node : XNode -> string
- node XNode
- The node for which to generate a unique ID
StringThis is loosely based on the generate-id() XSLT function implementation in the .NET FrameworkIn Visual Basic and C#, you can call this method as an instance method on any object of type
XNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).