XProcessingInstruction.Target 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
이 처리 명령에 대한 대상 애플리케이션을 가져오거나 설정합니다.
public:
property System::String ^ Target { System::String ^ get(); void set(System::String ^ value); };
public string Target { get; set; }
member this.Target : string with get, set
Public Property Target As String
속성 값
이 처리 명령에 대한 대상 애플리케이션입니다.
예외
문자열 value 은 .입니다 null.
대상은 XML 이름의 제약 조건을 따르지 않습니다.
예제
다음 예제에서는 처리 명령에 대 한 대상 애플리케이션을 검색 하는 속성을 사용 합니다 Target .
XProcessingInstruction pi =
new XProcessingInstruction("xml-stylesheet", "type=\"text/xsl\" href=\"hello.xsl\"");
Console.WriteLine(pi.Target);
Dim pi As XProcessingInstruction = _
<?xml-stylesheet type="text/xsl" href="hello.xsl"?>
Console.WriteLine(pi.Target)
이 예제는 다음과 같은 출력을 생성합니다.
xml-stylesheet