MetadataBuilder.GetOrAddString(String) 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 string to the string heap, if it's not there already.
public:
System::Reflection::Metadata::StringHandle GetOrAddString(System::String ^ value);
public System.Reflection.Metadata.StringHandle GetOrAddString (string value);
member this.GetOrAddString : string -> System.Reflection.Metadata.StringHandle
Public Function GetOrAddString (value As String) As StringHandle
Parameters
- value
- String
The string to add.
Returns
A handle to the added or existing string.
Exceptions
value
is null
.
Applies to
Werk met ons samen op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en bekijken. Raadpleeg onze gids voor inzenders voor meer informatie.