DocumentClass.Range Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim Start As Object
Dim End As Object
Dim returnValue As Range
Dim documentClass1 As DocumentClass
returnValue = documentClass1.Range(Start, End)

Syntax

Public Overridable Function Range( _
    <InAttribute()> Optional ByRef Start As Object, _
    <InAttribute()> Optional ByRef End As Object _
) As Range
public virtual Range Range(
    [In, Optional] ref object Start, 
    [In, Optional] ref object End
);
public: Range^ Range(
    &Object^ Start, 
    &Object^ End
);
public Range Range(
    /*in*/System.Object Start, 
    /*in*/System.Object End
);
public function Range(
     Start : Object, 
     End : Object
) : Range;

Parameters

  • Start
    This parameter is intended for internal use only.
  • End
    This parameter is intended for internal use only.

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

DocumentClass Class
Microsoft.Office.Interop.Word Namespace

Other Resources

DocumentClass Members