XMLNode.PlaceholderText Property
Returns or sets a String that represents the text displayed for an element that contains no text.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim xMLNode1 As XMLNode
Dim returnValue As String
returnValue = xMLNode1.PlaceholderText
Dim sampleValue As String
xMLNode1.PlaceholderText = sampleValue
Syntax
Property PlaceholderText() As String
string PlaceholderText {get; set;}
property String^ PlaceholderText{
String^ get();
Void set(String^);
}
public System.String get_PlaceholderText();
public void set_PlaceholderText(System.String);
function get PlaceholderText() : String;
function set PlaceholderText(String);
Remarks
Placeholder text is displayed in Microsoft Word only when the Show XML tags in the document check box in the XML Structure task pane is cleared. The Show XML tags in the document check box corresponds to the ShowXMLMarkup property.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
XMLNode Interface
Microsoft.Office.Interop.Word Namespace