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
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา