MetadataBuilder.GetOrAddUserString(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 user string heap, if it's not there already.
public:
System::Reflection::Metadata::UserStringHandle GetOrAddUserString(System::String ^ value);
public System.Reflection.Metadata.UserStringHandle GetOrAddUserString (string value);
member this.GetOrAddUserString : string -> System.Reflection.Metadata.UserStringHandle
Public Function GetOrAddUserString (value As String) As UserStringHandle
Parameters
- value
- String
The string to add.
Returns
A handle to the added or existing string. This value may be used in LoadString(UserStringHandle).
Exceptions
The remaining space on the heap is too small to fit the string.
value
is null
.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.