MetadataBuilder.GetOrAddGuid(Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified Guid to the Guid heap, if it's not there already.
public:
System::Reflection::Metadata::GuidHandle GetOrAddGuid(Guid guid);
public System.Reflection.Metadata.GuidHandle GetOrAddGuid (Guid guid);
member this.GetOrAddGuid : Guid -> System.Reflection.Metadata.GuidHandle
Public Function GetOrAddGuid (guid As Guid) As GuidHandle
Parameters
- guid
- Guid
The Guid to add.
Returns
A handle to the added or existing Guid.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.