UrlAttribute.UrlValue Property
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.
Gets the URL value of the UrlAttribute.
public:
property System::String ^ UrlValue { System::String ^ get(); };
public string UrlValue { get; }
public string UrlValue { [System.Security.SecurityCritical] get; }
member this.UrlValue : string
[<get: System.Security.SecurityCritical>]
member this.UrlValue : string
Public ReadOnly Property UrlValue As String
Property Value
The URL value of the UrlAttribute.
- Attributes
Exceptions
The immediate caller does not have infrastructure permission.
Examples
The following code example illustrates the use of the UrlValue property of the UrlAttribute.
// Create UrlAttribute.
UrlAttribute^ attribute = gcnew UrlAttribute( "tcp://localhost:1234/RemoteApp" );
Console::WriteLine( "UrlAttribute value: {0}", attribute->UrlValue );
// Create a url attribute object.
UrlAttribute attribute =
new UrlAttribute("tcp://localhost:1234/RemoteApp");
Console.WriteLine("UrlAttribute value: {0}", attribute.UrlValue);
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา